package org.jeecg.modules.api.vo.rest;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecg.common.system.base.entity.IdBaseEntity;

import java.math.BigDecimal;
import java.util.List;

@Data
public class CustomersRestVo extends IdBaseEntity {

    /**姓名/单位名称*/
    @ApiModelProperty(value = "姓名/单位名称")
    private String name;
    
    /**家庭住址/单位地址*/
    @ApiModelProperty(value = "联系地址/单位地址")
    private String contactAddress;
    
    /**身份证号/信用代码*/
    @ApiModelProperty(value = "身份证号/信用代码")
    private String code;
    
    /**联系电话*/
    @ApiModelProperty(value = "联系电话")
    private String phone;
    
    /**客户类型：1个人客户，2企业客户*/
    @ApiModelProperty(value = "客户类型：1个人客户，2企业客户")
    @Dict(dicCode = "customer_type")
    private Integer type;

    /**余额*/
    @ApiModelProperty(value = "总余额")
    private BigDecimal totalBalance;

//    /**联系人*/
//    @ApiModelProperty(value = "联系人")
//    private String contactPerson;

    /**法人*/
    @ApiModelProperty(value = "法人")
    private String legalPerson;
    /**法人联系电话*/
    @ApiModelProperty(value = "法人联系电话")
    private String legalPersonPhone;
    /**法人身份证号码*/
    @ApiModelProperty(value = "法人身份证号码")
    private String legalPersonIDCard;

    /**家庭住址*/
    @ApiModelProperty(value = "家庭住址")
    private String homeAddress;

    /**紧急联系人*/
    @ApiModelProperty(value = "紧急联系人")
    private String emergencyContact;
    /**紧急联系人*/
    @ApiModelProperty(value = "紧急联系人关系")
    private String emergencyContactRelation;
    /**紧急联系人电话*/
    @ApiModelProperty(value = "紧急联系人电话")
    private String emergencyContactPhone;
    /**邮箱地址*/
    @ApiModelProperty(value = "邮箱地址")
    private String emailAddress;

    @ApiModelProperty(value = "对应公司的余额")
    private List<CustomersCompanyBalanceVo> customersCompanyBalances;
}
